#pragma once

#ifdef CAPS

int caps_init();
void caps_unloadimage(int drv);
int caps_loadimage(struct zfile* zf, int drv, int* num_tracks);
int caps_loadtrack(ushort* mfmbuf, ushort* tracktiming, int drv, int track, int* tracklength, int* multirev, int* gapoffset);
int caps_loadrevolution(ushort* mfmbuf, int drv, int track, int* tracklength);

#endif